﻿<UserControl x:Class="EMath.Controls.Geometry.Planimetrics"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="325" d:DesignWidth="550">
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="290*" />
			<ColumnDefinition Width="140*" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="35" />
			<RowDefinition Height="35" />
			<RowDefinition Height="140*" />
			<RowDefinition Height="90*" />
		</Grid.RowDefinitions>
		<Button Height="22" HorizontalAlignment="Left" Width="22" Margin="5,0,0,0" BorderBrush="#00000000" Background="#00000000" Click="Back">
			<Image Source="/EMath;component/Resources/Home.jpg" />
		</Button>
		<TextBlock HorizontalAlignment="Center" Text="Geometria - Planimetria" FontSize="22" Grid.ColumnSpan="2" Name="La_Title" />
		<Grid Grid.Row="1" Grid.ColumnSpan="2" Height="23" HorizontalAlignment="Right" Margin="0,0,5,0" Width="405">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="80*" />
				<ColumnDefinition Width="129*" />
				<ColumnDefinition Width="147*" />
			</Grid.ColumnDefinitions>
			<TextBlock Name="La_Calc" Padding="4" Text="Oblicz: " />
			<ComboBox Name="CB_var1" Grid.Column="1" Margin="2,1" SelectionChanged="CB_var1_SelectedIndexChanged">
				<ComboBoxItem Content="Obwód" />
				<ComboBoxItem Content="Pole" />
			</ComboBox>
			<ComboBox Name="CB_var2" Grid.Column="2" Margin="2,1" SelectionChanged="CB_var2_SelectedIndexChanged" IsEnabled="False" />
			<ComboBox Name="CB_var3" Grid.Column="3" Margin="2,1" SelectionChanged="CB_var3_SelectedIndexChanged" IsEnabled="False" />
		</Grid>
		<GroupBox Grid.Row="2" Header="Dane:" Name="GB_Vars">
			<Grid>
				<ScrollViewer VerticalScrollBarVisibility="Auto">
					<WrapPanel Name="WP_Vars">
						<Grid Name="G_V_1" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_1" Padding="5" Text="Label" />
							<TextBox Name="TB_V_1" Grid.Column="2" TextChanged="TB_V_N_TextChanged"/>
						</Grid>
						<Grid Name="G_V_2" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_2" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_2" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
						<Grid Name="G_V_3" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_3" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_3" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
						<Grid Name="G_V_4" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_4" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_4" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
						<Grid Name="G_V_5" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_5" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_5" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
						<Grid Name="G_V_6" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_6" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_6" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
						<Grid Name="G_V_7" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_7" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_7" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
						<Grid Name="G_V_8" Height="25" Width="180" Visibility="Collapsed">
							<Grid.ColumnDefinitions>
								<ColumnDefinition Width="75*" />
								<ColumnDefinition Width="105*" />
							</Grid.ColumnDefinitions>
							<TextBlock Name="La_V_8" Padding="5" Text="Label"/>
							<TextBox Name="TB_V_8" Grid.Column="2" TextChanged="TB_V_N_TextChanged" />
						</Grid>
					</WrapPanel>
				</ScrollViewer>
			</Grid>
		</GroupBox>
		<GroupBox Grid.Column="1" Grid.Row="2" Header="Rysunek:" Name="GB_Image">
			<Grid Name="G_Image">
				<Image Name="PB_Image" MouseDown="PB_Image_Click" />
			</Grid>
		</GroupBox>
		<GroupBox Grid.Row="3" Header="Obliczenia:" Name="GB_Calc">
			<Grid>
				<RichTextBox Name="RTB_Calc" />
			</Grid>
		</GroupBox>
		<Button Name="Bu_Calc" Content="Wykonaj obliczenia" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="0,0,0,10" />
	</Grid>
</UserControl>
